Magnetic deviation